package bai7.model;

public class Employee extends Person {
	private int id;
	private int luong;
	public Employee(){
		
	}
	
	public Employee(String name, String dc, String dateOfbirth, String email,
			int id, int luong) {
		super(name, dc, dateOfbirth, email);
		this.id = id;
		this.luong = luong;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getLuong() {
		return luong;
	}
	public void setLuong(int luong) {
		this.luong = luong;
	}
	@Override
	void display() {
		System.out.println("Id: "+getId());
		System.out.println("Luong: "+getLuong());	
	}
}
